﻿<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %>
<%@ page language="java" pageEncoding="utf-8"%>
<%@include file="../common/common.jsp" %>



<div class="main-content-right">
    <!--即时新闻-->
    <div class="main-text-box">
        <div class="main-text-box-tbg">
            <div class="main-text-box-bbg">

                <table cellpadding="1" cellspacing="1" class="admin-list">
                    <thead >
                        <tr class="admin-list-head">
                            <th>分类id</th>
                            <th>分类名称</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <c:forEach items="${list}" var="cat" varStatus="status">
                            <tr <c:if test="${status.count%2 == 0}" class="admin-list-td-h2"></c:if> >
                                <td> ${cat.id} </td>
                                <td> ${cat.name} </td>
                                <td>
                                    <a href="catogoryDetail.jsp?id=<%%>">修改</a> &nbsp;&nbsp;
                                    <a href="#">删除</a>
                                </td>
                            </tr>
                        </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>